package org.jeecg.modules.demo.socket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: zy_app_dyna
 * @Author: jeecg-boot
 * @Date:   2023-07-11
 * @Version: V1.0
 */
@Schema(name="zy_app_dyna对象", description="zy_app_dyna")
public class ZyAppDyna implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(name = "id")
    private String id;
	/**userId*/
	@Excel(name = "userId", width = 15)
    @Schema(name = "userId")
    private String userId;
	/**photo*/
	@Excel(name = "photo", width = 15)
    @Schema(name = "photo")
    private String photo;
	/**content*/
	@Excel(name = "content", width = 15)
    @Schema(name = "content")
    private String content;
	/**feedback*/
	@Excel(name = "feedback", width = 15)
    @Schema(name = "feedback")
    private String feedback;
	/**fdPhoto*/
	@Excel(name = "fdPhoto", width = 15)
    @Schema(name = "fdPhoto")
    private String fdPhoto;
	/**remark*/
	@Excel(name = "remark", width = 15)
    @Schema(name = "remark")
    private String remark;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(name = "createTime")
    private Date createTime;
    /**updateTime*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(name = "updateTime")
    private Date updateTime;
    /**state*/
    @Excel(name = "state", width = 15)
    @Schema(name = "state")
    private String state;



    public ZyAppDyna() {
    }

    public ZyAppDyna(String userId, String photo, String content, String remark, Date createTime) {
        this.userId = userId;
        this.photo = photo;
        this.content = content;
        this.remark = remark;
        this.createTime = createTime;
    }

    public ZyAppDyna(String id, String feedback, String fdPhoto, Date updateTime) {
        this.id = id;
        this.feedback = feedback;
        this.fdPhoto = fdPhoto;
        this.updateTime = updateTime;
    }
}
